﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ex2.Pool
{
    class PoolTest
    {
        static void Main(string[] args)
        {
            object someObject = "Some Object";
            Resource resource = new Resource(someObject);
            ResourcePool pool = new ResourcePool();
            pool.Add(resource);
            pool.Add(resource);
            pool.Remove(resource);
        }
    }
}
